package com.example.mypigcar.service;

import com.example.mypigcar.pojo.dto.AddAppointmentDTO;
import com.example.mypigcar.pojo.po.Appointment;

import java.util.List;

/**
 * @author zkw
 * @Description TODO
 * @createTime 2021年07月07日 08:45:00
 */
public interface AppointmentService {
    boolean insertAppointment(AddAppointmentDTO appointMent,Integer userId) throws Exception;

    List<Appointment> getUserAppointment(int userId);

    boolean updateByUserIdAndAppointmentId(Appointment appointment) throws Exception;
}
